<br>
<div class="box" style="width:100%">
<div class="boxtitle">Raccourcies</div>
<div class="boxcontent">
<a href="/default/training">Recherche</a> <a href="/default/Profile">Profil</a>
</div>
</div>

<?php if(isset($this->newtrainings) && is_array($this->newtrainings) && count($this->newtrainings)>0):?>
<div class="box">
<div class="boxtitle">Nouvelles formations</div>
<div class="boxcontent">
 <div class="line"><div class="coltitle">Nom Formation</div><div class="coltitle">Actions</div></div>
 <?php foreach ($this->newtrainings as $training):?>
 <div class="line"><div class="col"><?php echo $this->escape($training->Name);?></div><div class="col"><a href="/default/training/show/id/<?php echo $training->Id;?>">Detail</a></div></div>
 <?php endforeach;?>
 </div>
</div>
<?php endif;?>